package com.example.seckill.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;

import lombok.Data;

/**
 * 
 * @TableName item
 */
@TableName(value ="item")
@Data
public class ItemDO implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    @TableField("`name`")
    private String name;

    /**
     * 
     */
    @TableField("price")
    private BigDecimal price;

    /**
     * 
     */
    @TableField("`desc`")
    private String desc;

    /**
     * 
     */
    private Integer sales;

    /**
     * 
     */
    @TableField("`url`")
    private String url;


}